import {defHttp} from '/@/utils/http/axios';

enum Api {
    loginfo = '/sys/loginfo',
    visitInfo = '/sys/visitInfo',
    getPlanningInfo = '/lims/dashboard/manager/getPlanningInfo',
    // getPlanningProduct = '/lims/dashboard/manager/getPlanningProduct',
    // getPlanningProcess = '/lims/dashboard/manager/getPlanningProcess',
    // getPlanningMaterial = '/lims/dashboard/manager/getPlanningMaterial',
    getCurrentInfo = '/lims/dashboard/manager/getCurrentInfo',
    getQcInfo = '/lims/dashboard/manager/getQcInfo',
}
/**
 * 查询计划统计数据
 * @param params
 */
export const getPlanningInfo = (params) =>
    defHttp.get({url: Api.getPlanningInfo, params},{isTransformResponse:false});
// export const getPlanningProduct = (params) =>
//   defHttp.get({url: Api.getPlanningProduct, params},{isTransformResponse:false});
// export const getPlanningProcess = (params) =>
//   defHttp.get({url: Api.getPlanningProcess, params},{isTransformResponse:false});
// export const getPlanningMaterial = (params) =>
//   defHttp.get({url: Api.getPlanningMaterial, params},{isTransformResponse:false});
/**
 * 查询当前任务统计数据
 * @param params
 */
export const getCurrentInfo = (params) =>
    defHttp.get({url: Api.getCurrentInfo, params},{isTransformResponse:false});
/**
 * 查询质控统计数据
 * @param params
 */
export const getQcInfo = (params) =>
  defHttp.get({url: Api.getQcInfo, params},{isTransformResponse:false});
